Upgrade to Beam 2.72.0 - #3557
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request primarily focuses on a comprehensive dependency upgrade across both Java and Python components. It advances the core Apache Beam framework to a newer release candidate, updates several Google Cloud client libraries, and refines Python dependency specifications. The changes aim to ensure compatibility with the latest versions of these critical components and improve the robustness of related tests. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3557 +/- ##
============================================
- Coverage 52.35% 52.32% -0.04%
+ Complexity 6143 6138 -5
============================================
Files 1053 1053
Lines 63361 63361
Branches 6947 6947
============================================
- Hits 33174 33151 -23
- Misses 27939 27962 +23
Partials 2248 2248
🚀 New features to boost your workflow:
|
|
Now the error becomes We may need to do similar changes like here: |
|
clickhouse tests passed in the latest run |
|
Build failure due to cannot find aiohttp 3.13.5 in internal pypi mirror |
|
R: @apanich @tvalentyn if anyone still around |
|
LGTM |
| @@ -1,4 +1,4 @@ | |||
| apache-beam[gcp]==2.71.0 | |||
| apache-beam[gcp] | |||
There was a problem hiding this comment.
I think that this doesn't work well. When there are several requirements, pip doesn't always resolve to the latest beam. For example,
is on an old beam. This doesn't a matter much for this example template, but would be easy to miss in other instances.I think we should add back version numbers here, proposing this in #4203
There was a problem hiding this comment.
This happens when your __build__ dir isn't fresh. Adding version is indeed safer, though need to change it every time on a version bump or rc validation
There was a problem hiding this comment.
I don't think it is just that. We're getting this even when getting PRs generated by GitHub actions and I reproed on a fresh GitHub codespace - neither of these have preexisting __build__ directories
There was a problem hiding this comment.
Also note that it only failed to update streaming-llm in those passes, not the other generated requirements. This suggests that this can be caused by including certain dependencies (for now these are ml deps, but I don't think there's any guarantee that the same thing couldn't happen for other dependencies)
There was a problem hiding this comment.
My guess is that pip resolves some of the other dependencies first, then picks a beam version which satisfies that; if the dependency (or one of its dependencies) is outside Beam's constraints, then we'll see this issue
There was a problem hiding this comment.
Yeah it's possible. It's noticed some Beam's optional dependency started to depend on Beam: apache/beam#39884
No description provided.